Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bdk requirement from 0.4 to 0.9 #79

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 16, 2021

Updates the requirements on bdk to permit the latest version.

Changelog

Sourced from bdk's changelog.

[v0.9.0] - [v0.8.0]

Wallet

  • Added Bitcoin core RPC added as blockchain backend
  • Added a verify feature that can be enable to verify the unconfirmed txs we download against the consensus rules

[v0.8.0] - [v0.7.0]

Wallet

  • Added an option that must be explicitly enabled to allow signing using non-SIGHASH_ALL sighashes (#350)

Changed

get_address now returns an AddressInfo struct that includes the index and derefs to Address.

[v0.7.0] - [v0.6.0]

Policy

Changed

Removed fill_satisfaction method in favor of enum parameter in extract_policy method

Added

Timelocks are considered (optionally) in building the satisfaction field

Wallet

  • Changed Wallet::{sign, finalize_psbt} now take a &mut psbt rather than consuming it.
  • Require and validate non_witness_utxo for SegWit signatures by default, can be adjusted with SignOptions
  • Replace the opt-in builder option force_non_witness_utxo with the opposite only_witness_utxo. From now on we will provide the non_witness_utxo, unless explicitly asked not to.

[v0.6.0] - [v0.5.1]

Misc

Changed

  • New minimum supported rust version is 1.46.0
  • Changed AnyBlockchainConfig to use serde tagged representation.

Descriptor

Added

  • Added ability to analyze a PSBT to check which and how many signatures are already available

Wallet

Changed

  • get_new_address() refactored to get_address(AddressIndex::New) to support different get_address() index selection strategies

Added

  • Added get_address(AddressIndex::LastUnused) which returns the last derived address if it has not been used or if used in a received transaction returns a new address
  • Added get_address(AddressIndex::Peek(u32)) which returns a derived address for a specified descriptor index but does not change the current index
  • Added get_address(AddressIndex::Reset(u32)) which returns a derived address for a specified descriptor index and resets current index to the given value
  • Added get_psbt_input to create the corresponding psbt input for a local utxo.

... (truncated)

Commits
  • 4e813e8 Bump version to 0.9.0
  • 53409ef Update version in src/lib.rs
  • f8a6e1c Update CHANGELOG
  • fa5103b Merge commit 'refs/pull/383/head' of github.com:bitcoindevkit/bdk into releas...
  • d1658a2 Merge commit 'refs/pull/385/head' of github.com:bitcoindevkit/bdk into releas...
  • 879e5cf rustfmt
  • 928f9c6 dsl: add regression test for and_or() descriptor
  • 814ab4c dsl: fix descriptor macro when and_or() used
  • 58cf460 Build the rpc feature on docs.rs
  • b6beef7 [rpc] Mark the RPC backend as experimental
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [bdk](https://github.com/bitcoindevkit/bdk) to permit the latest version.
- [Release notes](https://github.com/bitcoindevkit/bdk/releases)
- [Changelog](https://github.com/bitcoindevkit/bdk/blob/master/CHANGELOG.md)
- [Commits](bitcoindevkit/bdk@v0.4.0...v0.9.0)

---
updated-dependencies:
- dependency-name: bdk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 16, 2021
@luckysori
Copy link
Collaborator

@dependabot ignore this dependency.

I wanted dependabot to ignore anything under 0.10, but I'm not sure I can do that. We're tracking this upgrade here: #75.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 16, 2021

OK, I won't notify you about bdk again, unless you re-open this PR or update it yourself. 😢

@dependabot dependabot bot closed this Aug 16, 2021
@dependabot dependabot bot deleted the dependabot/cargo/bdk-0.9 branch August 16, 2021 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant